<style>
    label {
        display: block;
        margin-top: 1em;
    }

    input:autofill {
        border: 3px solid red;
    }
</style>
<form>
    <p>Click on the text box and choose any option suggested by your browser.</p>

    <label for="name">Name</label>
    <input name="name" type="text" autocomplete="name">

    <label for="email">Email Address</label>
    <input name="email" type="email" autocomplete="email">

    <label for="country">Country</label>
    <input name="country" type="text" autocomplete="country-name">
    <button>提交</button>
</form>